<!--{template /module/admin/view/head}-->
<div id="left_layout">
	<div id="main_content" class="container-fluid">
		<!--{template /module/admin/view/head_nav}-->
		<div class="row-fluid">
			<div class="well widget">
				<div class="widget-header">
					<p class="text">{lang cms.subject.view.header}</p>
				</div>
				<div class="widget-content">
				<table class="table">
					<thead>
						<tr>
							<th width="120">{lang cms.subject_edit.view.title.label}</th>
							<th>{$subject[TITLE]}</th>
						</tr>
					</thead>
					<tr>
						<td>{lang cms.subject_edit.view.identity.label}</td>
						<td>{$subject[IDENTITY]}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.expried.label}</td>
						<td>{$subject[EXPRIED]}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.subtitle.label}</td>
						<td>{$subject[SUBTITLE1]}；{$subject[SUBTITLE2]}；{$subject[SUBTITLE3]}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.address.label}</td>
						<td>{$subject[ADDRESS]}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.summary.label}</td>
						<td>{echo nl2br($subject[SUMMARY]);}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.content.label}</td>
						<td>{$subject[CONTENT]}</td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.iscommend.label}</td>
						<td>
							<!--{if $subject['ISCOMMEND'] > 0}-->
				            {$subject[ISCOMMEND]}{lang cms.subject_edit.view.iscommend.unit}
				            <!--{else}-->
				            {lang cms.subject_edit.view.iscommend.no}
				            <!--{/if}-->
				        </td>
					</tr>
					<tr>
						<td>{lang cms.subject_edit.view.istop.label}</td>
						<td>
							<!--{if $subject['ISTOP']}-->
							{lang cms.subject_edit.view.istop.yes}
							<!--{else}-->
							{lang cms.subject_edit.view.istop.no}
							<!--{/if}-->
						</td>
					</tr>
				</table>
				
				<hr />
				
            	<table class="table" style="width:auto;">
            		<thead>
            			<tr>
	            			<th width="40">{lang admin.validate.swfupload.th.no}</th>
	            			<th width="80">{lang admin.validate.swfupload.th.pic}</th>
	            			<th width="240">{lang admin.validate.swfupload.th.name}</th>
            			</tr>
            		</thead>
            		<tbody>
            		<!--{loop $subject_files $key $image}-->
            		<tr>
		            	<td>
			            	{echo $key + 1;}
		            	</td>
		            	<td>
		            		<input type="hidden" name="hdnImagePath[]" value="{$image[4]}" />
		            		<a href="{$image[3]}" target="_blank"><img class="image" style="width:60px; height:60px;" src="{$image[0]}" border="0" /></a>
		            	</td>
		            	<td>
		            		<span class="imageTitle">{$image[1]}<!--{if $image[5]}--><br/>[{$image[5]}px * {$image[6]}px]<!--{/if}--></span>
		            	</td>
		            </tr>
            		<!--{/loop}-->
            		<tr id="tbl_no_record"{if count($subject_files) > 0} style="display:none;"{/if}>
            			<td colspan="3">{lang admin.validate.swfupload.empty}</td>
            		</tr>
		            </tbody>
		        </table>
				<fieldset>
					<button type="button" class="btn" onclick="javascript:history.go(-1);">{lang admin.operation.go.back}</button>
				</fieldset>
				</div>
			</div>
			</form>
		</div>
	</div>
</div>
<!--{template /module/admin/view/foot}-->